package com.muc.logic;

import java.util.Map;

public class Task
{
	private int					taskID;						// 任务编号
	private Map<String, Object>	taskParam;						// 任务参数
	// 任务参数


	public Task(int id, Map<String, Object> param)
	{
		this.taskID = id;
		this.taskParam = param;
	}
	public int getTaskID()
	{
		return taskID;
	}
	public Map<String, Object> getTaskParam()
	{
		return taskParam;
	}
	public void setTaskParam(Map<String, Object> taskParam)
	{
		this.taskParam = taskParam;
	}
	public Object getByString(String str)
	{
		return taskParam.get(str);
	}
}
